<template>
  <div class="custom-table-container">
    <el-table :data="userList" border stripe>
      <el-table-column type="index" label="序号" width="80"></el-table-column>
      <el-table-column prop="id" label="学号"></el-table-column>
      <el-table-column prop="name" label="姓名"></el-table-column>
      <el-table-column prop="age" label="年龄"></el-table-column>
      <el-table-column prop="position" label="职位"></el-table-column>
      <el-table-column prop="addtime" label="更新时间"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: 'custom-table'
}
</script>

<style lang="less" scope>
.custom-table-container {
  margin: @margin;
}
</style>
